package com.meilai.project.dto.workflow;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @author 张驰
 * @date 2020/5/27
 */

@Data
@ApiModel(value= "工作流_条件配置项")
public class WorkFlowPropertyData<T> implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "uuid")
    private String id;

    @ApiModelProperty(value = "显示名称")
    private String name;

    @ApiModelProperty(value = "condition 条件、left 左括号、right 有括号、and 且、or 或")
    private String type;

    @ApiModelProperty(value = "条件值")
    private T value;
}
